#include "Buzzer.h"

Buzzer::Buzzer(QDomElement buzzerELement)
{
    Duration = buzzerELement.attributeNode("Duration").value().toInt(NULL,10);
    QString pulseString = buzzerELement.attributeNode("Pulse").value();
    if(pulseString == "True")
        Pulse = true;
    else
        Pulse = false;
}
